package cn.tedu.serializable;

import java.io.*;

/**
 * @author ：Dsi
 * @date ：2021/11/17 18:57
 * Describe ：该类用于复写字符输入流
 */
public class TestIn02 {
    public static void main(String[] args) throws Throwable {
        //字节输入流
        FileInputStream i=new FileInputStream("D:\\ready\\1.txt");
        InputStream i1=new FileInputStream("D:\\ready\\1.txt");
        BufferedInputStream i2=new BufferedInputStream(new FileInputStream("D:\\ready\\1.txt"));
        //字节输出流
        FileOutputStream o=new FileOutputStream("D:\\ready\\1.txt");
        OutputStream o1=new FileOutputStream("D:\\ready\\1.txt");
        BufferedOutputStream o2=new BufferedOutputStream(new FileOutputStream("D:\\ready\\1.txt"));
        //字符输入流
        Reader r=new FileReader("D:\\ready\\1.txt");
        FileReader r1=new FileReader("D:\\ready\\1.txt");
        BufferedReader r2=new BufferedReader(new FileReader("D:\\ready\\1.txt"));
        //字符输出流
        Writer w=new FileWriter("D:\\ready\\1.txt");
        FileWriter w2=new FileWriter("D:\\ready\\1.txt");
        BufferedWriter w3=new BufferedWriter(new FileWriter("D:\\ready\\1.txt"));
        //对象输出流
        ObjectOutputStream oo1=new ObjectOutputStream(new FileOutputStream("D:\\ready\\1.txt"));
        //对象输入流
        ObjectInputStream oi1=new ObjectInputStream(new FileInputStream("D:\\ready\\1.txt"));






    }

}
